package edu.sctu.wulixia.month6.day20150614;

import java.io.File;
import java.io.FileNotFoundException;
import java.io.IOException;

/**
 * Created by user05 on 2015/6/14.
 */
public class ClientTest {
    private static final String FILE = "D://aiqiyi";
    private static final String FILE_FILE1 = FILE+"//wulixia.txt";
    private static final String FILE_FILE2 = FILE+"//wulixia.txt";

    public static void main(String[] args) throws IOException {
        //方法一：
//        AddFile addFile = new AddFile();
//        addFile.isAddFile();
//        addFile.isAddDoument();
//        DeleteFile deleteFile = new DeleteFile();
//        deleteFile.isDeleteFile();


        //方法二：
//        AddAndDeleteFile addAndDeleteFile = new AddAndDeleteFile();
//        addAndDeleteFile.isAddFile(new File(FILE));
//        addAndDeleteFile.isAddDoument(new File(FILE_FILE1));
//        addAndDeleteFile.isDeleteFile(new File(FILE_FILE2));

        IOStream ioStream = new IOStream();
        ioStream.getFileInfo();
//        PrintChar printChar = new PrintChar();
//        printChar.createFile();
//        printChar.createDoument();
//        printChar.getFileInfo();

    }

}
